/* eslint-disable */
import {axios} from '@/utils/request'

/**查车位 */
export function getParkSpaceData(parameter) {
  return axios({
    url: '/share-parking/parking/app/conditionAnalysisForAPP',
    method: 'post',
    params: parameter
  })
}

/**获取banner图 */
export function getBanner() {
    return axios({
      url: '/share-parking/parking/app/getBanner',
      method: 'post',
    })
}

/**优惠预约搜索 */
export function getParkReserveData(parameter) {
    return axios({
      url: '/share-parking/parking/app/getReserveParkInfo',
      method: 'post',
      params: parameter
    })
}

/**支付 */
export function payReservation(parameter) {
  return axios({
    url: '/share-parking/parking/web/pay/payReservation',
    method: 'post',
    data: parameter
  })
}